package cz.matasek.dbLogger;

/**
 * Enumeration of the logging availability.
 *
 * @author Luboš Matásek
 */
public enum LoggingAvailability {

    /**
     * Logging is available.
     */
    AVAILABLE,
    /**
     * Logging is unavailable.
     */
    UNAVAILABLE;

    /**
     * Returns string representation of the logging availability.
     *
     * @return logging availability
     */
    @Override
    public String toString() {
        return name().toLowerCase();
    }
}
